package com.better.mongodb.test.dao;

import com.better.mongodb.test.UserEntity;

/**
 * @author
 * @create 2017-09-11 15:47
 **/
public interface UserDao{
    void saveUser(UserEntity user);
    UserEntity findUserByUserName(String userName);
    void updateUser(UserEntity user);
    void deleteUserById(Long id);
}
